/*    */ package com.liy.cloud.auth.client.config;
/*    */ 
/*    */ import javax.servlet.http.HttpServletRequest;
/*    */ import org.springframework.beans.factory.annotation.Value;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class UserAuthConfig
/*    */ {
/*    */   @Value("${dascloud.authrization.token-header:JwtToken}")
/*    */   private String tokenHeader;
/*    */   @Value("${dascloud.authrization.client.id:default}")
/*    */   private String clientId;
/*    */   @Value("${dascloud.authrization.client.secret:default}")
/*    */   private String clientSecret;
/*    */   private byte[] pubKeyByte;
/*    */   
/* 26 */   public String getTokenHeader() { return this.tokenHeader; }
/*    */ 
/*    */ 
/*    */   
/* 30 */   public void setTokenHeader(String tokenHeader) { this.tokenHeader = tokenHeader; }
/*    */ 
/*    */ 
/*    */   
/* 34 */   public String getToken(HttpServletRequest request) { return request.getHeader(getTokenHeader()); }
/*    */ 
/*    */ 
/*    */   
/* 38 */   public byte[] getPubKeyByte() { return this.pubKeyByte; }
/*    */ 
/*    */ 
/*    */   
/* 42 */   public void setPubKeyByte(byte[] pubKeyByte) { this.pubKeyByte = pubKeyByte; }
/*    */ 
/*    */ 
/*    */   
/* 46 */   public String getClientId() { return this.clientId; }
/*    */ 
/*    */ 
/*    */   
/* 50 */   public void setClientId(String clientId) { this.clientId = clientId; }
/*    */ 
/*    */ 
/*    */   
/* 54 */   public String getClientSecret() { return this.clientSecret; }
/*    */ 
/*    */ 
/*    */   
/* 58 */   public void setClientSecret(String clientSecret) { this.clientSecret = clientSecret; }
/*    */ }


/* Location:              C:\Users\admin\Desktop\Jar\das-cloud-osc\das-cloud-osc-auth-client-1.0.0-SNAPSHOT.jar!\com\das\cloud\auth\client\config\UserAuthConfig.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.0.7
 */